<template>
  <el-table
    v-loading="listLoading"
    :data="[]"
    border
    fit
    size="small"
    highlight-current-row
    element-loading-text="拼命加载中"
    element-loading-spinner="el-icon-loading"
  >
    >
    <el-table-column align="center" label="物品名称">
      <template slot-scope="{ row }">{{ row.name }}</template>
    </el-table-column>
    <el-table-column align="center" label="物品数量">
      <template slot-scope="{ row }">{{ row.num }}</template>
    </el-table-column>
    <el-table-column align="center" label="物品单价">
      <template slot-scope="{ row }">{{ row.price }}</template>
    </el-table-column>
  </el-table>
</template>
<script>
export default {
  props: {
    list: {
      type: Array,
      default: null
    }
  }
}
</script>
